package com.gitee.feizns.zxw.domain.error;

import com.gitee.feizns.web.domain.result.ErrEnums;

/**
 * 后台业务异常码 2000 => 3000
 * @author feizns
 * @since 2019/09/09
 */
public enum BackstageCode implements ErrEnums {

    /**
     * 用户名或密码错误
     */
    USERNAME_OR_PASSWORD_IS_INCORRECT(2001),

    /**
     * 解密失败
     */
    DECRYPTION_FAILED(2002);

    private int code;

    BackstageCode(int code) {
        this.code = code;
    }

}
